/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2023-12-27 下午4:04:11
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// apk升级内容
    /// </summary>
    public partial class updateapk
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public updateapk()
        {
        }

        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }
        /// <summary>
        /// 编译版本号(唯一)
        /// </summary>
        [Display(Name = "编译版本号(唯一)")]
		
        [SugarColumn(IsPrimaryKey = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 VersionCode  { get; set; }
        
		
        /// <summary>
        /// 0代表不更新，1代表有版本更新，不需要强制升级，2代表有版本更新，需要强制升级
        /// </summary>
        [Display(Name = "0代表不更新，1代表有版本更新，不需要强制升级，2代表有版本更新，需要强制升级")]
		
        
        
        
        
        public System.Int32? UpdateStatus  { get; set; }
        
		
        /// <summary>
        /// 版本名(用于展示)
        /// </summary>
        [Display(Name = "版本名(用于展示)")]
		
        
        
        [StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String VersionName  { get; set; }
        
		
        /// <summary>
        /// 更新内容
        /// </summary>
        [Display(Name = "更新内容")]
		
        
        
        
        
        public System.String ModifyContent  { get; set; }
        
		
        /// <summary>
        /// 文件下载地址
        /// </summary>
        [Display(Name = "文件下载地址")]
		
        
        
        [StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String DownloadUrl  { get; set; }
        
		
        /// <summary>
        /// 文件的大小(单位:kb)
        /// </summary>
        [Display(Name = "文件的大小(单位:kb)")]
		
        
        
        
        
        public System.Int32? ApkSize  { get; set; }
        
		
        /// <summary>
        /// md5值
        /// </summary>
        [Display(Name = "md5值")]
		
        
        
        [StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String ApkMd5  { get; set; }
        
		
    }
}
